package com.xuwang.pojo;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 原料供货表(RawMaterialSupplier)实体类
 *
 * @author smallseven
 * @since 2021-09-17 11:07:14
 */
@ApiModel(value = "RawMaterialSupplier",description = "原料供货表")
public class RawMaterialSupplier implements Serializable {
    private static final long serialVersionUID = -17876501805570899L;
    /**
    * 主键
    */
	@ApiModelProperty(name = "id",notes = "主键",dataType = "Integer",required = true)
    private Integer id;
    /**
    * 原材料id
    */
	@ApiModelProperty(name = "rawMaterialId",notes = "原材料id",dataType = "Integer",required = true)
    private Integer rawMaterialId;
    /**
    * 供货数量
    */
	@ApiModelProperty(name = "number",notes = "供货数量",dataType = "Double",required = true)
    private Double number;
    /**
    * 供货时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(name = "supplyTime",notes = "供货时间",dataType = "Object",required = true)
    private Object supplyTime;
    /**
    * 生产日期
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@ApiModelProperty(name = "productionTime",notes = "生产日期",dataType = "Object",required = true)
    private Object productionTime;
    /**
    * 原料生产批号
    */
	@ApiModelProperty(name = "rawMaterialBatchNo",notes = "原料生产批号",dataType = "String",required = true)
    private String rawMaterialBatchNo;
    /**
    * 接收企业id
    */
	@ApiModelProperty(name = "companyId",notes = "接收企业id",dataType = "Integer",required = true)
    private Integer companyId;
    /**
     * 原材料
     */
	private RawMaterial rawMaterial;

    public RawMaterial getRawMaterial() {
        return rawMaterial;
    }

    public void setRawMaterial(RawMaterial rawMaterial) {
        this.rawMaterial = rawMaterial;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRawMaterialId() {
        return rawMaterialId;
    }

    public void setRawMaterialId(Integer rawMaterialId) {
        this.rawMaterialId = rawMaterialId;
    }

    public Double getNumber() {
        return number;
    }

    public void setNumber(Double number) {
        this.number = number;
    }

    public Object getSupplyTime() {
        return supplyTime;
    }

    public void setSupplyTime(Object supplyTime) {
        this.supplyTime = supplyTime;
    }

    public Object getProductionTime() {
        return productionTime;
    }

    public void setProductionTime(Object productionTime) {
        this.productionTime = productionTime;
    }

    public String getRawMaterialBatchNo() {
        return rawMaterialBatchNo;
    }

    public void setRawMaterialBatchNo(String rawMaterialBatchNo) {
        this.rawMaterialBatchNo = rawMaterialBatchNo;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

}
